export default function (state = {}, action) {
  switch(action.type) {
    case 'KAO_SHI':
      return {
        ...action.payload,
        ...state,
        isKaoShi: true
      }
    default:
      return state
  }
}